//
//  NSObject+AssociatedObject.h
//  iOS-Categories (https://github.com/shaojiankui/iOS-Categories)
//
//  Created by Jakey on 14/12/11.
//  Copyright (c) 2014年 www.skyfox.org. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (AssociatedObject)

/**
 附加一个stong对象
 */
- (void)wl_AddStongValue:(id)value withKey:(void *)key; // Strong reference

/**
 附加一个weak对象
 */
- (void)wl_AddWeakValue:(id)value withKey:(void *)key;

/**
 根据附加对象的key取出附加对象
 */
- (id)wl_GetValueForKey:(void *)key;

/**
 删除关联对象
 */
- (void)wl_RemoveValue;

@end
